package com.ss.android.account.model;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;

public class BaseModel implements Parcelable {
    public static final Parcelable.Creator CREATOR;
    @SerializedName("description") private String description;
    @SerializedName("tip") private String tip;

    static {
       CREATOR = new Creator<BaseModel>() {
           public final BaseModel createFromParcel(Parcel arg2) {
               return new BaseModel(arg2);
           }

           public final BaseModel[] newArray(int arg2) {
               return new BaseModel[arg2];
           }
       };
    }

    protected BaseModel(Parcel arg2) {

        this.tip = arg2.readString();
        this.description = arg2.readString();
    }

    public BaseModel() {

    }

    public int describeContents() {
        return 0;
    }

    public String getDescription() {
        return this.description;
    }

    public String getTip() {
        return this.tip;
    }

    public void setDescription(String arg1) {
        this.description = arg1;
    }

    public void setTip(String arg1) {
        this.tip = arg1;
    }

    public void writeToParcel(Parcel arg2, int arg3) {
        arg2.writeString(this.tip);
        arg2.writeString(this.description);
    }
}

